popFirst
Returns and removes the first element. The element was placed at the beginning of the sequence.
If there is no element in the collection, EmptyDequeAccessException is thrown.
Throws
when the collection is empty.
Returns and removes the first element. The element was placed at the beginning of the sequence.
If there is no element in the collection, EmptyDequeAccessException is thrown.
when the collection is empty.